package ModelLayer;


/**
 * Write a description of class SellItem here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class SellItem extends Item
{
    // instance variables - replace the example below with your own
    private int stock;
    private int price;

    /**
     * Constructor for objects of class SellItem
     */
    
    public SellItem()
    {
        
    }
    
    public SellItem(long id, String name, String location, int stock, int price)
    {
        super(id, location, name);
        this.stock = stock;
        this.price = price;
    }
    
    public void setStock(int newstock)
    {
        stock = newstock;
    }
    
    public void setPrice(int newprice)
    {
        price = newprice;
    }
    
    public int getStock()
    {
        return stock;
    }
    
    public int getPrice()
    {
        return price;
    }
}
